/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* 页面背景 */
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
  }
  
  /* 头部样式 */
  header {
    background-color: #333;
    color: white;
    padding: 10px 0;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .logo img {
    width: 120px;
  }
  
  .search-bar input {
    padding: 5px;
    width: 200px;
  }
  
  .search-bar button {
    padding: 5px 10px;
    margin-left: 10px;
    background-color: #008cba;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .search-bar button:hover {
    background-color: #005f7f;
  }
  
  /* 导航栏样式 */
  nav {
    background-color: #222;
    padding: 10px 0;
  }
  
  nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
  }
  
  nav li {
    margin: 0 20px;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  nav a:hover {
    color: #008cba;
  }
  
  /* 主内容部分 */
  main {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
  }
  
  /* 文章部分样式 */
  article {
    flex: 3;
    padding-right: 20px;
  }
  
  article h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
  }
  
  article p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
  }
  
  /* 侧边栏样式 */
  aside {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  /* 登录表单样式 */
  .login-form {
    margin-top: 20px;
  }
  
  .login-form h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
  }
  
  .login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  .login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  .login-form button {
    width: 100%;
    padding: 10px;
    background-color: #008cba;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .login-form button:hover {
    background-color: #005f7f;
  }
  
  /* 页脚样式 */
  footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
  }
  